package com.xiaohe66.web.infrastructure.mybatis.common.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaohe66.web.integration.BaseLongInputDo;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author xiaohe66
 * @since 2023-01-29 11:53
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("tag")
public class TagDo extends BaseLongInputDo {

    @TableField("`name`")
    private String name;

    private String background;

    private String color;

    @TableField("`desc`")
    private String desc;

}